package com.test.lifeCycle.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @ClassName NotVeryUseFulAspect
 * @Description
 * @Author lihaiyang
 * @Date 2022/7/17 08:55
 * @Version 1.0
 */
@Aspect
@Component
@Slf4j(topic = "e")
public class NotVeryUseFulAspect {

	@Pointcut("within(com.test.lifeCycle.bean.A)")
	private void pointCut() {

	}

	@Before("pointCut()")
	public void before() {
		log.debug("aop before");
	}
}
